package com.zsc.wxapp.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Box {

    @JsonProperty("class")
    private int classId;

    @JsonProperty("class_name")
    private String class_name;

    @JsonProperty("item_name")
    private String item_name;

    @JsonProperty("item_id")
    private String item_id;

    @JsonProperty("bbox")
    private List<Integer> bbox;

    @JsonProperty("confidence")
    private BigDecimal confidence;
}
